package com.hiultra.archive.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hiultra.common.annotation.Excel;
import com.hiultra.common.core.domain.BaseEntity;

import java.util.Date;

/**
 * 盘点数据对象 archive_stocktaking
 *
 * @author paidaxing
 * @date 2024-07-31
 */
public class ArchiveStocktaking extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private String id;
    /**
     * 序号
     */
    private String taskId;
    /**
     * 序号
     */
    private String taskBoxId;

    /**
     * 工单编号
     */
    @Excel(name = "申请编号")
    private String orderNo;

    private String inventoryNo;

    /**
     * 盘点任务内容
     */
    @Excel(name = "盘点任务内容")
    private String inventoryContent;


    /**
     * 盘点任务制定日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "盘点任务制定日期", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date inventoryDate;

    /**
     * 盘点人员
     */
    @Excel(name = "盘点人员")
    private String inventoryBy;

    /**
     * 档案柜数量
     */
    @Excel(name = "档案柜数量")
    private String cabinetNum;

    /**
     * 档案盒数量
     */
    @Excel(name = "档案盒数量")
    private String boxNum;
    /**
     * 档案区编号
     */
    @Excel(name = "档案区编号")
    private String archAreaNo;

    /**
     * 档案盘点档案柜编号
     */
    @Excel(name = "档案柜编号")
    private String colNo;

    /**
     * 用户编号
     */
    private String custNo;
    /**
     * 供电单位编号
     */
    private String orgNo;

    /**
     * 档案室编号
     */
    private String roomNo;

    /**
     * 盘点日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inventoryTime;


    /**
     * 档案盒条码
     */
    // @Excel(name = "档案盒条码")
    private String boxBarCode;

    /**
     * 库位号
     */
    private String houseLocationNo;

    /**
     * 盘点结果(1盘平 2盘亏)
     */
    private String inventoryResult1;

    /**
     * 错位状态1是 2否
     */
    private String missStatus;

    /**
     * 实际库位号
     */
    private String actualHouseLocationNo;

    public String getInventoryNo() {
        return inventoryNo;
    }

    public void setInventoryNo(String inventoryNo) {
        this.inventoryNo = inventoryNo;
    }

    private String archiveId; // 档案标识
    private String borrowStatus; // 借阅标志
    private String inventoryResult; // 盘点结果
    private String addStatus; // 是否新增盘盈件

    /**
     * 档案盒号
     */
    @Excel(name = "档案盒号")
    private String boxNo;

    /**
     * 档案名称
     */
    @Excel(name = "档案名称")
    private String archiveName;

    /**
     * 档案类型
     */
    @Excel(name = "档案类型", dictType = "archive_type")
    private String archType;

    /**
     * 密级
     */
    @Excel(name = "密级", dictType = "confd_lv")
    private String confdLv;

    /**
     * 介质类型
     */
    @Excel(name = "介质类型", dictType = "med_form")
    private String medForm;
    /**
     * 保管期限
     */
    @Excel(name = "保管期限", dictType = "keep_dur")
    private String KeepDur;
    private String saveDate;

    /**
     * 对象类型
     */
    @Excel(name = "对象类型", dictType = "arch_obj_type")
    private String archObjType;

    /**
     * 对象编号
     */
    @Excel(name = "对象编号")
    private String archObjNo;

    /**
     * 对象名称
     */
    @Excel(name = "对象名称")
    private String archObjName;


    private String archiveType;
    private String conLevel;



    public String getArchType() {
        return archType;
    }

    public void setArchType(String archType) {
        this.archType = archType;
    }

    public String getKeepDur() {
        return KeepDur;
    }

    public void setKeepDur(String keepDur) {
        KeepDur = keepDur;
    }

    public String getConfdLv() {
        return confdLv;
    }

    public void setConfdLv(String confdLv) {
        this.confdLv = confdLv;
    }

    public String getArchiveType() {
        return archiveType;
    }

    public void setArchiveType(String archiveType) {
        this.archiveType = archiveType;
    }

    public String getConLevel() {
        return conLevel;
    }

    public void setConLevel(String conLevel) {
        this.conLevel = conLevel;
    }

    public String getMedForm() {
        return medForm;
    }

    public void setMedForm(String medForm) {
        this.medForm = medForm;
    }

    public String getSaveDate() {
        return saveDate;
    }

    public void setSaveDate(String saveDate) {
        this.saveDate = saveDate;
    }

    public String getArchiveId() {
        return archiveId;
    }

    public void setArchiveId(String archiveId) {
        this.archiveId = archiveId;
    }

    public String getArchObjType() {
        return archObjType;
    }

    public void setArchObjType(String archObjType) {
        this.archObjType = archObjType;
    }

    public String getArchObjNo() {
        return archObjNo;
    }

    public void setArchObjNo(String archObjNo) {
        this.archObjNo = archObjNo;
    }

    public String getArchObjName() {
        return archObjName;
    }

    public void setArchObjName(String archObjName) {
        this.archObjName = archObjName;
    }

    public void setId(String id) {
        this.id = id;
    }

    public void setInventoryContent(String inventoryContent) {
        this.inventoryContent = inventoryContent;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskBoxId() {
        return taskBoxId;
    }

    public void setTaskBoxId(String taskBoxId) {
        this.taskBoxId = taskBoxId;
    }

    public String getId() {
        return id;
    }

    public void setBoxNo(String boxNo) {
        this.boxNo = boxNo;
    }

    public String getBoxNo() {
        return boxNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setCustNo(String custNo) {
        this.custNo = custNo;
    }

    public String getCustNo() {
        return custNo;
    }

    public void setArchiveName(String archiveName) {
        this.archiveName = archiveName;
    }

    public String getArchiveName() {
        return archiveName;
    }

    public void setBorrowStatus(String borrowStatus) {
        this.borrowStatus = borrowStatus;
    }

    public String getBorrowStatus() {
        return borrowStatus;
    }

    public void setAddStatus(String addStatus) {
        this.addStatus = addStatus;
    }

    public String getAddStatus() {
        return addStatus;
    }

    public void setInventoryResult(String inventoryResult) {
        this.inventoryResult = inventoryResult;
    }

    public String getInventoryResult() {
        return inventoryResult;
    }

    public void setOrgNo(String orgNo) {
        this.orgNo = orgNo;
    }

    public String getOrgNo() {
        return orgNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public String getInventoryContent() {
        return inventoryContent;
    }

    public void setInventoryDate(Date inventoryDate) {
        this.inventoryDate = inventoryDate;
    }

    public Date getInventoryDate() {
        return inventoryDate;
    }

    public void setInventoryBy(String inventoryBy) {
        this.inventoryBy = inventoryBy;
    }

    public String getInventoryBy() {
        return inventoryBy;
    }

    public void setCabinetNum(String cabinetNum) {
        this.cabinetNum = cabinetNum;
    }

    public String getCabinetNum() {
        return cabinetNum;
    }

    public void setBoxNum(String boxNum) {
        this.boxNum = boxNum;
    }

    public String getBoxNum() {
        return boxNum;
    }

    public void setInventoryTime(Date inventoryTime) {
        this.inventoryTime = inventoryTime;
    }

    public Date getInventoryTime() {
        return inventoryTime;
    }

    public void setArchAreaNo(String archAreaNo) {
        this.archAreaNo = archAreaNo;
    }

    public String getArchAreaNo() {
        return archAreaNo;
    }

    public void setColNo(String colNo) {
        this.colNo = colNo;
    }

    public String getColNo() {
        return colNo;
    }

    public void setBoxBarCode(String boxBarCode) {
        this.boxBarCode = boxBarCode;
    }

    public String getBoxBarCode() {
        return boxBarCode;
    }

    public void setHouseLocationNo(String houseLocationNo) {
        this.houseLocationNo = houseLocationNo;
    }

    public String getHouseLocationNo() {
        return houseLocationNo;
    }

    public void setInventoryResult1(String inventoryResult1) {
        this.inventoryResult1 = inventoryResult1;
    }

    public String getInventoryResult1() {
        return inventoryResult1;
    }

    public void setMissStatus(String missStatus) {
        this.missStatus = missStatus;
    }

    public String getMissStatus() {
        return missStatus;
    }

    public void setActualHouseLocationNo(String actualHouseLocationNo) {
        this.actualHouseLocationNo = actualHouseLocationNo;
    }

    public String getActualHouseLocationNo() {
        return actualHouseLocationNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("boxNo", getBoxNo())
                .append("orderNo", getOrderNo())
                .append("custNo", getCustNo())
                .append("archiveName", getArchiveName())
                .append("borrowStatus", getBorrowStatus())
                .append("addStatus", getAddStatus())
                .append("inventoryResult", getInventoryResult())
                .append("inventoryContent", getInventoryContent())
                .append("inventoryDate", getInventoryDate())
                .append("inventoryBy", getInventoryBy())
                .append("cabinetNum", getCabinetNum())
                .append("boxNum", getBoxNum())
                .append("orgNo", getOrgNo())
                .append("roomNo", getRoomNo())
                .append("inventoryTime", getInventoryTime())
                .append("archAreaNo", getArchAreaNo())
                .append("colNo", getColNo())
                .append("boxBarCode", getBoxBarCode())
                .append("houseLocationNo", getHouseLocationNo())
                .append("inventoryResult1", getInventoryResult1())
                .append("missStatus", getMissStatus())
                .append("actualHouseLocationNo", getActualHouseLocationNo())
                .toString();
    }
}
